package com.yp.lession52.services.impl;

import com.yp.lession52.services.EmpServices;

public class EmpServiceslmpl implements EmpServices {
    @Override
    public void show() {
        System.out.println("services的show方法");
    }

    @Override
    public int add() {
        System.out.println("services的add方法");
        return 999;
    }

    @Override
    public void update() {
        System.out.println("services的update方法");
    }

    @Override
    public void del() {
        System.out.println("services的del方法");
    }

    @Override
    public String getMsg(){
        System.out.println("getMsg方法");
        System.out.println("10/0");
        return "hello";
    }

}

